<template>
  <div class="footer" v-show="arrInfo.length > 0">
    <span>合计：{{ arrInfo.length }}</span>
    <span style="cursor: pointer" @click="scl"> 清空任务 </span>
  </div>
</template>

<script setup lang="ts">
defineProps(["arrInfo"]);

const emit = defineEmits(["scl"]);

const scl = () => {
  emit("scl", scl);
};
</script>

<style></style>
